##
# This class is used for getting the pages from the wordpress database
# 
# == Examples:
#   User.first.pages
# <em>The above will find the first user in the database and retrieve all of the pages they are associated with</em>
#   Page.find(1)
# <em>The above will find the pge with id of 1</em>
# 
# == Additional Methods
# [title] The title of the page
# [title= <em>new_title</em>] Set the title of the page
# [content] The content of the page
# [content= <em>new_content</em>] Set the content of the page
# 
# == Database Keys
# [ID <em>alias: id</em>] The page id
# [post_author <em>alias: user.id</em>]
# 	The User id of who created the Page  
# 	  Page.find(1).user  
# 	<em>The above returns the User that the page belongs to</em>  
# [post_date] The date the page was created
# [post_date_gmt] The date the page was created in gmt/utc time
# [post_content <em>alias: content</em>] The content of the page
# [post_title <em>alias: title</em>] The title of the page
# [post_excerpt] The excerpt of the page
# [post_status] The status of the page <em>e.g. +Published+</em>
# [comment_status] Whether or not comments are allowed e.g. open
# [ping_status] Whether or not pings are allowed e.g. open
# [post_password] The password (if any) required to view the page
# [post_name] The page slug e.g. example-page
# [to_ping] _Unknown_
# [pinged] _Unknown_
# [post_modified] The date the page last edited
# [post_modified_gmt] The date the page last edited in gmt/utc time
# [post_content_filtered] _Unknown_
# [post_parent] The pages parent id (if any)
# [guid] The full url to the page
# [menu_order] The order at which the page sits in the menu
# [post_type] The type of the post e.g. page or post (will always be page)
# [post_mime_type] The mime type of the post
# [comment_count] The amount of comments on the page
# [type] Used and created by wpb for activerecord inheritance

class Page < PagePost
	belongs_to :user
end